home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / utility / trackpic.zip / TRACKPIC.DOC < prev    next >
Text File  |  1992-05-20  |  11KB  |  261 lines

  1.  
  2.  
  3.   #####     ####       ###       ####     #   #     ####      #####      ####
  4.     #       #   #     #   #     #         #  #      #   #       #       #
  5.     #       ####      #####     #         ###       ####        #       #
  6.     #       #   #     #   #     #         #  #      #           #       #
  7.     #       #   #     #   #      ####     #   #     #         #####      ####
  8.  
  9.                                  version 1.1
  10.  
  11.                           (C) 1991 by Thomas Opheys
  12.  
  13.  
  14.  
  15. 1. WHAT'S THE USE OF TRACKPIC?
  16.  
  17.    You know what happens when you reboot your computer and there is a disk
  18.    without system in your boot drive... Usually, a simple message like
  19.  
  20.    "  Non-System disk or disk error
  21.       Replace and press any key when ready  "
  22.  
  23.                                  (MS-DOS 5.0)
  24.  
  25.    is displayed on your screen.
  26.  
  27.    Imagine being the boot program of that disk. This little friend is just
  28.    sitting in sector 0, waiting for a user trying to boot his disk. And instead
  29.    of doing a demanding job then, he just types this dull message. You can
  30.    imagine that his life is only frustrating... often, this ends in attempted
  31.    suicide!
  32.  
  33.    Help him!
  34.  
  35.    TrackPic changes the boot sector of non-system disks. If you unintentionally
  36.    try to boot such a disk, a 320x200x256 VGA picture is displayed and informs
  37.    you in a much nicer way of the boot problem. The picture is stored on tracks
  38.    not used by DOS. You can use TrackPic with every formatted disk and use your
  39.    own pictures - without losing data or a single byte of disk space!
  40.  
  41.  
  42. 2. WHAT DISKS/DRIVES CAN TRACKPIC USE?
  43.  
  44.    TrackPic works on every standard MS-DOS formatted 360k, 720k, 1.2MB or
  45.    1.44 MB disk. If TrackPic detects a non-standard number of sides, tracks,
  46.    sectors per track or sector length, the disk is rejected.
  47.  
  48.    The disk can be empty or full of files - Trackpic only manipulates the
  49.    boot sector and formats tracks never used by DOS. No other system or data
  50.    areas of the disk are changed and from the DOS view, the disk is the same
  51.    as before. Nothing does happen to your data.
  52.  
  53.    TrackPic uses tracks that lie behind the ones normally used by DOS.
  54.    If you use disks with smaller capacities (360k, 720k), it is possible that
  55.    even though TrackPic compresses the picture, it won't fit on the disk.
  56.    You can override the safe track limit with the /o option if you think your
  57.    drive supports more than the number of tracks given below. But this is
  58.    a bit dangerous and could damage your drive.
  59.  
  60.    Format  Tracks Bytes  Comment                    If picture does not fit
  61.    ------- ------ ------ -------------------------- -----------------------
  62.    1.44 MB 80-83  73728  every picture can be used  -
  63.    1.2 MB  80-83  61440  ~99% of all pictures fit   cut 10-15 lines
  64.    720k    80-83  36864  ~75% of all pictures fit   cut some lines
  65.    360k    40-41  18432  ~40% of all pictures fit   use less detailed pictures
  66.  
  67.    If you copy a disk with a TrackPic boot sector using a normal DOS disk copy
  68.    program, the picture will not be copied because it is out of DOS's reach.
  69.    The copy of the disk will display the text mode message when booted.
  70.  
  71.    Did I say that the disk shouldn't be write protected???
  72.  
  73.  
  74. 3. OTHER REQUIREMENTS
  75.  
  76.    To install the TrackPic boot sector and the picture on a diskette, you just
  77.    need an PC with compatible DOS and BIOS.
  78.  
  79.    To view the picture when trying to boot the disk, a VGA card is required.
  80.    If there is no VGA card present in the system or a sector read error occurs
  81.    when loading the picture, the normal "Non-System disk..." message is printed
  82.    in text mode.
  83.  
  84.    The picture's fade-in effect is done with BIOS calls to change the palette
  85.    colors. Although the time of the vertical retrace of your CRT is used to do
  86.    that, on slower computers it is possible that, starting at the top of the
  87.    screen, some flickering occurs. On a 20 MHz 386 I have no problems with that,
  88.    but at 10 MHz or slower, most VGA BIOSes flicker. You can turn off the
  89.    fade-in effect with the /f option.
  90.  
  91.  
  92. 4. THE PICTURE
  93.  
  94.    TrackPic can only use VGA (MCGA) 320x200x256 pictures in "raw" format.
  95.    Such a picture consists of a palette and the pixel data, which are stored
  96.    in two seperate files.
  97.  
  98.    The palette file should have the extension ".PLT". Its length is normally
  99.    768 bytes and it consists of 256 records of R,G,B color information (0-63).
  100.    Programs like "VGA CAD" or "VGACAP" produce such a file, but with a 7-Byte
  101.    header and perhaps some chunk bytes at the end. VGACAP i.e. uses 777-byte
  102.    files. To read both types, raw and with the 7-Byte header, TrackPic loads
  103.    the file directly if it is 768 bytes long or skips the first seven bytes if
  104.    it is longer.
  105.  
  106.    The picture file sould have the extension ".BLD". When using the raw data,
  107.    its length is 64000 bytes (200 rows with 320 pixels each). Again, VGACAP
  108.    and VGA CAD have a 7-Byte header which is treated in the same way as with
  109.    the palette file. The GIF picture viewer PICEM can also save this format -
  110.    it has the extension ".BAS". Picem doesn't save the palette. (WHY?)
  111.  
  112.    Note: If the picture file length is < 64000, TrackPic thinks the picture is
  113.    already compressed. As an example, the DEMO.BLD file that came with this
  114.    version of TrackPic is already compressed. You can't use compressed files
  115.    yourself.
  116.  
  117.    If there is interest, I could implement a GIF or PCX loader...
  118.  
  119.  
  120. 5. HOW TO DO IT
  121.  
  122.    There are two possible ways to invoke TrackPic:
  123.  
  124.  
  125.    5.1. TRACKPIC <pal-file.ext> <pic-file.ext>
  126.  
  127.       When giving two file names on the command line of TrackPic, the two files
  128.       will be used to read the palette (first) and picture data (second).
  129.  
  130.       Example:  > trackpic screen00.plt screen00.bld
  131.  
  132.       would use the files "SCREEN00.PLT" and "SCREEN00.BLD".
  133.  
  134.  
  135.    5.2. TRACKPIC <file>
  136.  
  137.       When using only one file name (without extension!), TrackPic reads the
  138.       palette file adding a ".PLT" extension to the file name and the picture
  139.       file adding a ".BLD" extension.
  140.  
  141.       Example:  > trackpic screen00
  142.  
  143.       would, like above, use the files "SCREEN00.PLT" and "SCREEN00.BLD".
  144.  
  145.  
  146.    5.3. OPTIONS
  147.  
  148.       5.3.1  /B  -  install on B: drive
  149.  
  150.           Normally, Trackpic uses drive A: to install, because you normally
  151.           boot from this drive. If for any reasons you want to use B:, this
  152.           switch makes it possible.
  153.  
  154.  
  155.       5.3.2  /N  -  No user input
  156.  
  157.           If this option is used, the user is at no time prompted for input:
  158.  
  159.           - if there is no disk in drive A:, TrackPic aborts
  160.  
  161.           - if there is a disk in A:, TrackPic directly starts
  162.  
  163.           - if there occurs a read or write error, TrackPic aborts at once
  164.  
  165.  
  166.       5.3.3  /V  -  re-read picture and View
  167.  
  168.           After having installed TrackPic on the disk, all used sectors and
  169.           tracks are again read and the picture will be displayed. If the
  170.           picture has errors or if it is unreadable, the disk may be faulty or
  171.           your drive doesn't support tracks >= 80.
  172.  
  173.           You need a VGA card to use this option.
  174.  
  175.  
  176.       5.3.4  /R  - no veRify
  177.  
  178.           The information written to the disk are always verified to be correct.
  179.           With this switch, you can turn off this feature. But this only saves
  180.           one or two seconds and makes the whole act a little less reliable.
  181.  
  182.  
  183.       5.3.5  /T  - Test boot sector
  184.  
  185.           If you use this option, TrackPic doesn't return to DOS when ready but
  186.           reboots your machine to directly test the new boot sector.
  187.           Even if you use the /B option, your computer boots from drive A:.
  188.  
  189.  
  190.       5.3.6  /F  -  Fade-in OFF
  191.  
  192.           If you don't like the effect of the picture fading in or your
  193.           computer is too slow to do this flicker-free, you can turn this
  194.           feature off with this swicth and the picture is displayed immediately.
  195.  
  196.       5.3.7  /O  -  Override safe track limit
  197.  
  198.           Normally TrackPic refuses to write pictures to disks when their
  199.           safe track limit would be exceeded. That's normally the case with
  200.           big, detailed pictures on DD disks. When you use the /O option,
  201.           the track limit will be ignored.
  202.           Be cautious! On a 360k disk, the normal maximum track is 41, whereas
  203.           a full 64k picture would require tracks 40-53. When using this option
  204.           in such an extreme case, your disk head will certainly bang against
  205.           some barrier. I had no problems with that - but be very careful!
  206.  
  207.  
  208.  
  209. 6. EASY START
  210.  
  211.    You have a picture file and want to use it as a boot picture?
  212.    Here is one way how you can do it, with just a few PD/shareware programs:
  213.  
  214.    o  load VGACAP
  215.    o  display the file on screen in MCGA 320x200x256 mode (with PICEM,CSHOW...)
  216.    o  press ALT+F4 to save the screen to disk (VGACAP function)
  217.    o  quit your image viewer - there are now files SCREENxx.PLT and SCREENxx.BLD
  218.    o  type "trackpic screenXX" and there you are...
  219.  
  220.    recommended shareware programs:
  221.  
  222.    VGACAP      Copyright by Lawrence Gozum & Marvin Gozum
  223.                VGA image capture program, creates .BLD and .PLT files
  224.  
  225.    PICEM       Copyright by John Bridges
  226.                GIF viewer, can save picture in .BAS format (<=>.BLD)
  227.  
  228.    CSHOW       Copyright by Canyon State Systems and Software
  229.                viewer for multiple image file formats
  230.  
  231.    PICLAB      Copyright by Lee Daniel Crocker and the Stone Soup Group
  232.                best to rescale and manipulate pictures
  233.  
  234.    These programs can be copied freely. Every good FTP side should carry them.
  235.    Donate the authors for their efforts if you use their programs!
  236.  
  237.  
  238. 7. BLAH
  239.  
  240.    Although I tested this software carefully, you use it on your own risk.
  241.    I will not be responsible for any damage.
  242.  
  243.    This software is copyrighted!
  244.  
  245.    Private persons can use TrackPic, but for personal use only. Using the
  246.    TrackPic boot sector on a commercial disk or a freeware/fairware, etc
  247.    disk is strictly forbidden!
  248.  
  249.    If you like it and your name isn't David Rasche, send me $10 or what you
  250.    think it is worth to you for my time and efforts.
  251.    If your name is David Rasche, send me a photo of Susi...
  252.    If you send $15, you'll get the latest enhanced version of TrackPic.
  253.    (Europe: $12 or DM 20)
  254.  
  255.  
  256.    Thomas Opheys, App. 88     Internet: iws9012@eva.fmi.uni-passau.de
  257.    Franz-Stockbauer-Weg 1
  258.    D-8390 Passau, Germany     e-Mail preferred
  259.    Tel.: 0851-73971
  260.  
  261.